//
//  NetWorker+News.m
//  掌上宏力
//
//  Created by admin on 2017/5/22.
//  Copyright © 2017年 admin. All rights reserved.
//

#import "NetWorker+News.h"

@implementation NetWorker (News)

+(void)getNewsDatasWithURLStr:(NSString *)url body:(NSDictionary *)dic success:(void (^)(id))success failure:(void (^)(id))failure{
    [[MySessionManager sharedMySessionManager] accessNewsServerWithURLStr:url body:dic success:^(id result) {
        success(result);
    } failure:^(id result) {
        failure(result);
    }];
}

@end
